//向指定的标签发送消息
export default function insertCSS(tabId: number, message: any, details: chrome.tabs.InjectDetails) {
    return new Promise(res => {
        chrome.tabs.sendMessage(tabId, message, function (response) {
            res(response);
        });
    })
}